package com.stu.test.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName: PageUtilDTO
 * Package: com.stu.test.dto
 * Description: @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageUtilDTO {
    private Integer pageNum;
    private Integer pageSize;
    public void start(){
        this.pageNum=(this.pageNum-1)*this.pageSize;
    }
}
